package com.axjy.mapper;

import com.axjy.dto.SolvetaskMainDto;
import com.axjy.pojo.SolvetaskMain;
import com.axjy.pojo.SolvetaskMainThree;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by 83536 on 2018/1/30.
 */
public interface SolvetaskMainMapper {
    List<SolvetaskMain> solveShow(@Param("offset")Integer offset, @Param("limit") Integer limit, @Param("dto") SolvetaskMainDto solvetaskMainDto);
    Integer getCount(@Param("dto")SolvetaskMainDto solvetaskMainDto);
    void add(SolvetaskMain solvetaskMain);
    void update(SolvetaskMain solvetaskMain);
    List<SolvetaskMainThree> sShow(@Param("offset")Integer offset, @Param("limit") Integer limit, @Param("dto")SolvetaskMainDto solvetaskMainDto);
    List<SolvetaskMain> solveShows(@Param("offset")Integer offset, @Param("limit") Integer limit, @Param("dto") SolvetaskMainDto solvetaskMainDto);
    void updatet(Integer id);
}
